package com.tb.mapper;

import com.tb.model.Prison;
import com.tb.model.PrisonExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PrisonMapper {
    int countByExample(PrisonExample example);

    int deleteByExample(PrisonExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Prison record);

    int insertSelective(Prison record);

    List<Prison> selectByExample(PrisonExample example);

    Prison selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Prison record, @Param("example") PrisonExample example);

    int updateByExample(@Param("record") Prison record, @Param("example") PrisonExample example);

    int updateByPrimaryKeySelective(Prison record);

    int updateByPrimaryKey(Prison record);

}